
$primayColor:#20222a;
$secondaryColor:#fff;
$warningColor:#F56C6C;
$primayText:#303133;
$regularText:#606266;
$secondaryText:#909399;


@mixin flex-center{
	display: flex;
	justify-content: center;
	align-items: center;
}

body{
	margin:0;
	font-size: 16px;
	.wrap{
		width: 100vw;
		height: 100vh;
		background-color: $primayColor;
		.container{
			width: 100vw;
			height: 100vh;
			@include flex-center;
			position: relative;
			.login{
				width: 17rem;
				height: 22rem;
				background-color: $secondaryColor;
				padding: 2rem 3rem;
				border-radius: 0.8rem;
				text-align: center;
				.title{
					text-align: center;
					font-size: 2rem;
					font-family: "黑体";
					font-weight: bold;
					color: $secondaryText;
					padding-bottom: 1rem;
				}
				.input{
					display: block;
					width: 100%;
					height: 2rem;
					color: $regularText;
					margin: 2rem 0;
				}
				.el-row{
					padding-top: 3rem;
				}
			}
			.el-alert{
				position: absolute;
				width: 23rem;
				top: 4rem;
			}
		}
	}
}


